//
//  GRHotMsgViewCell.m
//  YC_GRice
//
//  Created by Feng Liu on 2018/8/30.
//  Copyright © 2018年 YeCai. All rights reserved.
//

#import "GRHotMsgViewCell.h"

@implementation GRHotMsgViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

-(void)setCollectModel:(GRCollectCommonModel *)collectModel {
    [super setCollectModel:collectModel];
    [_msgIMG sd_setImageWithURL:[NSURL URLWithString:collectModel.mainPhoto]];
    _msgTitle.text          = collectModel.title;
    _msgDescription.text = collectModel.subtitle;
}

- (IBAction)moreAction:(id)sender {
    [self showCancle:YES];
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
